package com.wicket.okrapp.biz.service.dto.common;
import com.wicket.okrapp.common.dto.BaseDto;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

import lombok.Data;
import java.util.Objects;
    
    
    /**
     * @desc DeptObjMisStaSetWeightDto
     * @使用场景
     */
    @Data
    public class DeptObjMisStaSetWeightDto extends BaseDto  implements Serializable {
      
    /**
     * 对象目标周期权重设置ID 
     */
    @ApiModelProperty("对象目标周期权重设置ID")
    private String	 objTargetCycleWeightSetId;

    /**
     * 被评对象目标周期ID 
     */
    @ApiModelProperty("被评对象目标周期ID")
    private String	 evaObjTargetCycleId;

    /**
     * 目标周期简称 
     */
    @ApiModelProperty("目标周期简称")
    private String	 cyclelAlias;

    /**
     * 关联目标内容ID 
     */
    @ApiModelProperty("关联目标内容ID")
    private String	 targetCycleContentId;

    /**
     * 周期名称 
     */
    @ApiModelProperty("周期名称")
    private String	 cycleStandardName;

    /**
     * 周期类型实例简称 
     */
    @ApiModelProperty("周期类型实例简称")
    private String	 cycleNumberShortName;

    /**
     * 是否父周期 TRUE:是 FALSE:否
     */
    @ApiModelProperty("是否父周期")
    private String	 isParentCycle;

    /**
     * 是否子周期 TRUE:是 FALSE:否
     */
    @ApiModelProperty("是否子周期")
    private String	 isSubCycle;

    /**
     * 是否中期 TRUE:是 FALSE:否
     */
    @ApiModelProperty("是否中期")
    private String	 isMetaphase;

    /**
     * 虚拟组织下部门ID 
     */
    @ApiModelProperty("虚拟组织下部门ID")
    private String	 deptId;

    /**
     * 权重 
     */
    @ApiModelProperty("权重")
    private Double	 weightValue;

    /**
     * 权重分值 
     */
    @ApiModelProperty("权重分值")
    private Double	 weightScore;
/**
     * 主体生命周期 CURRENTLY_VALID:当前有效 EDITING:正在编辑 ARCHIVING:历史存档
     */
    @ApiModelProperty("主体生命周期")
    private String	 subjectLifeCycle;
@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      DeptObjMisStaSetWeightDto that = (DeptObjMisStaSetWeightDto) o;
      return  objTargetCycleWeightSetId == that.objTargetCycleWeightSetId&&evaObjTargetCycleId == that.evaObjTargetCycleId&&cyclelAlias == that.cyclelAlias&&targetCycleContentId == that.targetCycleContentId&&cycleStandardName == that.cycleStandardName&&cycleNumberShortName == that.cycleNumberShortName&&isParentCycle == that.isParentCycle&&isSubCycle == that.isSubCycle&&isMetaphase == that.isMetaphase&&deptId == that.deptId&&weightValue == that.weightValue&&weightScore == that.weightScore&&subjectLifeCycle == that.subjectLifeCycle;
    }
@Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), objTargetCycleWeightSetId,evaObjTargetCycleId,cyclelAlias,targetCycleContentId,cycleStandardName,cycleNumberShortName,isParentCycle,isSubCycle,isMetaphase,deptId,weightValue,weightScore,subjectLifeCycle);
    }
    
      

    }
   